package com.stylefeng.guns.modular.pay.payment.jft.api;

import javax.validation.constraints.Pattern;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

public class ApiJftQuickPayRequst {
	private String version = "1.0"; // 业务响应码
	private String charset = "UTF-8"; // 返回信息描述
	private String reqTime; // 请求时间
	private String mchNo; // 商户号
	private String signType;
	private String sign;
	private String nonceStr; 	// 32位随机字符串

	private String chMerCode;	// 商户订单号
	private String orderCode;	// 总金额（单位分）
	private String orderTime; 	// 货币类型
	private String orderAmount;	//真实姓名
	private String settleType;		//身份证号
	private String busCode;		//支付卡号
	private String realName;		//手机号
	private String idCard;	// 回调地址
	private String accNo;	// 回跳地址
	private String mobile; 	// 客户端ip
	private String frontUrl; 	// 订单生成时间
	private String callBackUrl; // 订单生成时间
	
	@NotEmpty(message="version参数为空")
	@Pattern(regexp="1.0",message="版本错误")
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	
	@NotEmpty(message="charset参数为空")
	@Pattern(regexp="UTF-8",message="字符集有误")
	public String getCharset() {
		return charset;
	}
	public void setCharset(String charset) {
		this.charset = charset;
	}
	@NotEmpty(message="reqTime参数为空")
	@Length(max=14,message="reqTime参数长度有误")
	public String getReqTime() {
		return reqTime;
	}
	public void setReqTime(String reqTime) {
		this.reqTime = reqTime;
	}
	
	@NotEmpty(message="mchNo参数为空")
	@Length(max=32,message="mchNo参数长度有误")
	public String getMchNo() {
		return mchNo;
	}
	public void setMchNo(String mchNo) {
		this.mchNo = mchNo;
	}
	@NotEmpty(message="signType	参数为空")
	@Pattern(regexp="MD5",message="signType参数错误")
	public String getSignType() {
		return signType;
	}
	public void setSignType(String signType) {
		this.signType = signType;
	}
	@NotEmpty(message="sign参数为空")
	@Length(max=32,message="sign超出最大32位长度")
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	@NotEmpty(message="nonceStr参数为空")
	@Length(max=32,message="nonceStr超出最大32位长度")
	public String getNonceStr() {
		return nonceStr;
	}
	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}
	public String getChMerCode() {
		return chMerCode;
	}
	public void setChMerCode(String chMerCode) {
		this.chMerCode = chMerCode;
	}
	public String getOrderCode() {
		return orderCode;
	}
	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}
	public String getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}
	public String getOrderAmount() {
		return orderAmount;
	}
	public void setOrderAmount(String orderAmount) {
		this.orderAmount = orderAmount;
	}
	public String getSettleType() {
		return settleType;
	}
	public void setSettleType(String settleType) {
		this.settleType = settleType;
	}
	public String getBusCode() {
		return busCode;
	}
	public void setBusCode(String busCode) {
		this.busCode = busCode;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String getAccNo() {
		return accNo;
	}
	public void setAccNo(String accNo) {
		this.accNo = accNo;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getFrontUrl() {
		return frontUrl;
	}
	public void setFrontUrl(String frontUrl) {
		this.frontUrl = frontUrl;
	}
	public String getCallBackUrl() {
		return callBackUrl;
	}
	public void setCallBackUrl(String callBackUrl) {
		this.callBackUrl = callBackUrl;
	}
	
	
	
	

}
